package com.mbbmap.app.dao;

import java.util.Date;

public class SysLogDao implements java.io.Serializable {
	
	private String activityID;
	private String activityCode; 
	private String activityName; 
	private String acctID ; 
	private String userID; 
	private String role ; 
	private String status; 
	private Date date1; 
	private Date date2; 
	private String userField1; 
	private String userField2; 
	private String userField3; 
	private String userField4;
	
	public String getActivityID() {
	return emptyString(activityID);
	}
	public void setActivityID(String activityID) {
		this.activityID = activityID;
	}
	public String getActivityCode() {
		return emptyString(activityCode);
	}
	public void setActivityCode(String activityCode) {
		this.activityCode = activityCode;
	}
	public String getActivityName() {
		return emptyString(activityName);
	}
	public void setActivityName(String activityName) {
		this.activityName = activityName;
	}
	public String getAcctID() {
		return emptyString(acctID);
	}
	public void setAcctID(String acctID) {
		this.acctID = acctID;
	}
	public String getUserID() {
		return emptyString(userID);
	}
	public void setUserID(String userID) {
		this.userID = userID;
	}
	public String getRole() {
		return emptyString(role);
	}
	public void setRole(String role) {
		this.role = role;
	}
	public String getStatus() {
		return emptyString(status);
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public Date getDate1() {
		return date1;
	}
	public void setDate1(Date date1) {
		this.date1 = date1;
	}
	public Date getDate2() {
		return date2;
	}
	public void setDate2(Date date2) {
		this.date2 = date2;
	}
	public String getUserField1() {
		return emptyString(userField1);
	}
	public void setUserField1(String userField1) {
		this.userField1 = userField1;
	}
	public String getUserField2() {
		return emptyString(userField2);
	}
	public void setUserField2(String userField2) {
		this.userField2 = userField2;
	}
	public String getUserField3() {
		return emptyString(userField3);
	}
	public void setUserField3(String userField3) {
		this.userField3 = userField3;
	}
	public String getUserField4() {
		return emptyString(userField4);
	}
	public void setUserField4(String userField4) {
		this.userField4 = userField4;
	}
	
	public String emptyString (String inStr) {
	    if (inStr == null)
	        return "";
	    else
	        return inStr.trim();
	}
}
